
<div class="feature">
  <% fields_for_device_feature(device_feature) do |device_feature_form| %>
   <%=device_feature_form.select :feature_id, get_all_features().collect{|c| [c.name,c.id]}%>
	
  	Qty: <%= device_feature_form.text_field :qty, :size=>3 %>
	   <%= link_to_function "remove", "$(this).up('.feature').remove()" %>
  </br>
  <% end %>
</div>